//
//  MagazineCell.m
//  KeYin
//
//  Created by Sean Chen on 7/3/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "MagazineCell.h"


@implementation MagazineCell

@synthesize thumb, title, description;

//- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
//{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        // Initialization code
//    }
//    return self;
//}
//
//- (void)setSelected:(BOOL)selected animated:(BOOL)animated
//{
//    [super setSelected:selected animated:animated];
//
//    // Configure the view for the selected state
//}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    thumb.layer.shadowColor = [UIColor darkGrayColor].CGColor;
    thumb.layer.shadowOffset = CGSizeMake(1, 1);
    thumb.layer.shadowOpacity = 1.0;
    thumb.layer.shadowRadius = 1.0;
    
    self.selectionStyle = UITableViewCellSelectionStyleGray;
}

- (void)dealloc
{
    [thumb release];
    [title release];
    [description release];
    
    [super dealloc];
}

@end
